<?php
defined('THINK_PATH') or exit();
return array(
	
	 'role_purview'=>array(
		 //保卫处管理员,后台所有权限
    		'1'=>array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','33','35','37','38','39','40','44','52','54','55','64','65','69'),
		 //保卫处监控员,监控权限
    		'2'=>array(),
		 //学院领导,前台所有权限
		 '3'=>array('17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','34','36','38','41','42','43','45','46','47','48','49','50','51','66','67','68','70'),
		 //普通教职工,前台部分权限
		 '4'=>array('17','18','19','20','21','22','26','32','34','36','38','66','67','42','68','43','45','23','24','25','70'),
		 '5'=>array('53','54','55','56','57','58','59','60','61','62','63','64','65','71'),
		 ),
	'roleid_and_name'=>array(
		'1'=>'保卫处管理员',
		'2'=>'保卫处监控员',
		'3'=>'学院领导',
		'4'=>'普通教职工',
	),

    'purview_list'=> array(
		//后台-保卫处权限
    		'1'=>array('name'=>'机动车证申请-列表','url' =>'admin/car/index','desc'=>'机动车证申请所有列表'),
    		'2'=>array('name'=>'动火证申请-列表','url' =>'admin/permit/index','desc'=>'动火证申请所有列表'),
    		'3'=>array('name'=>'消防器材申请-列表','url' =>'admin/fire/index','desc'=>'消防器材申请所有列表'),
    		'4'=>array('name'=>'报案事件管理-列表','url' =>'admin/report/index','desc'=>'报案事件管理所有列表'),
    		'5'=>array('name'=>'报案事件管理-添加报案事件','url' =>'admin/report/add','desc'=>'添加报案事件'),
    		'6'=>array('name'=>'报案事件管理-添加报案事件','url' =>'admin/report/save','desc'=>'添加报案事件'),
    		'7'=>array('name'=>'常规安全检查-列表','url' =>'admin/check/index','desc'=>'常规安全检查所有列表'),
    		'8'=>array('name'=>'常规安全检查-添加常规安全检查','url' =>'admin/check/add','desc'=>'添加常规安全检查'),
    		'9'=>array('name'=>'常规安全检查-添加常规安全检查','url' =>'admin/check/save','desc'=>'添加常规安全检查'),
    		'10'=>array('name'=>'统计信息-安全平面图','url' =>'admin/info/index','desc'=>'统计信息'),
    		'11'=>array('name'=>'统计信息-动火证统计','url' =>'admin/info/index','desc'=>'统计信息'),
    		'12'=>array('name'=>'统计信息-机动车证统计','url' =>'admin/info/index','desc'=>'统计信息'),
    		'13'=>array('name'=>'统计信息-消防器材统计','url' =>'admin/info/index','desc'=>'统计信息'),
    		'14'=>array('name'=>'统计信息-报案事件统计','url' =>'admin/info/index','desc'=>'统计信息'),
    		'15'=>array('name'=>'统计信息-安全检查统计','url' =>'admin/info/index','desc'=>'统计信息'),
    		'16'=>array('name'=>'统计信息-其他数据','url' =>'admin/info/index','desc'=>'统计信息'),
			'33'=>array('name'=>'查看机动车申请列表详情','url' =>'admin/car/view','desc'=>'查看机动车申请列表详情'),
			'59'=>array('name'=>'机动车审核','url' =>'admin/car/judge','desc'=>'机动车审核'),
			'35'=>array('name'=>'机动车证申请详情查看','url' =>'admin/car/view','desc'=>'机动车证申请详情查看'),
			'37'=>array('name'=>'查看原图','url' =>'admin/index/viewimage','desc'=>'查看机动车证申请详情'),
			'38'=>array('name'=>'生成验证码','url' =>'admin/user/create_verify','desc'=>'查看机动车证申请详情'),
			'39'=>array('name'=>'查看','url' =>'admin/permit/view','desc'=>'查看机动车证申请详情'),
			'40'=>array('name'=>'查看','url' =>'admin/fire/view','desc'=>'查看机动车证申请详情'),
			'44'=>array('name'=>'查看','url' =>'admin/check/view','desc'=>'查看常规安全检查详情'),
			'52'=>array('name'=>'查看','url' =>'admin/report/view','desc'=>'查看常规安全检查详情'),
			'53'=>array('name'=>'系统管理','url' =>'admin/system/index','desc'=>'系统管理'),
			'54'=>array('name'=>'新增管理员','url' =>'admin/system/add','desc'=>'新增管理员'),
			'55'=>array('name'=>'保存新增管理员','url' =>'admin/system/save','desc'=>'保存新增管理员'),

			'56'=>array('name'=>'房间列表','url' =>'admin/room/rindex','desc'=>'系统管理'),
			'57'=>array('name'=>'新增房间','url' =>'admin/room/add_room','desc'=>'新增管理员'),
			'58'=>array('name'=>'保存新增管理员','url' =>'admin/room/save_room','desc'=>'保存新增管理员'),
			'60'=>array('name'=>'房间列表','url' =>'admin/room/bindex','desc'=>'系统管理'),
			'61'=>array('name'=>'新增房间','url' =>'admin/room/add_bulid','desc'=>'新增管理员'),
			'62'=>array('name'=>'保存新增管理员','url' =>'admin/room/save_bulid','desc'=>'保存新增管理员'),
			'63'=>array('name'=>'房屋列表','url' =>'admin/room/index','desc'=>'列表'),

			'64'=>array('name'=>'房屋分配','url' =>'admin/system/allocate','desc'=>'列表'),
			'65'=>array('name'=>'个人信息修改','url' =>'admin/system/edit','desc'=>'列表'),

			'69'=>array('name'=>'个人信息修改','url' =>'admin/check/judge','desc'=>'列表'),
			'71'=>array('name'=>'数据导出','url' =>'admin/index/export','desc'=>'列表'),
//			'72'=>array('name'=>'个人信息修改','url' =>'admin/check/judge','desc'=>'列表'),

			//前台-教职工权限/Admin/Permit/view
			'17'=>array('name'=>'机动车证申请-申请记录','url' =>'home/car/index','desc'=>'机动车证申请-申请记录'),
			'18'=>array('name'=>'机动车证申请-填写申请','url' =>'home/car/add','desc'=>'机动车证申请-填写申请'),
			'19'=>array('name'=>'机动车证申请-草稿箱','url' =>'home/car/drift','desc'=>'机动车证申请-草稿箱'),
			'20'=>array('name'=>'动火证申请-申请记录','url' =>'home/permit/index','desc'=>'申请记录'),
			'21'=>array('name'=>'动火证申请-填写申请','url' =>'home/permit/add','desc'=>'填写申请'),
			'22'=>array('name'=>'动火证申请-草稿箱','url' =>'home/permit/drift','desc'=>'草稿箱'),
			'23'=>array('name'=>'消防器材申请-申请记录','url' =>'home/fire/index','desc'=>'申请记录'),
			'24'=>array('name'=>'消防器材申请-填写申请','url' =>'home/fire/add','desc'=>'填写申请'),
			'25'=>array('name'=>'消防器材申请-草稿箱','url' =>'home/fire/drift','desc'=>'草稿箱'),
			'26'=>array('name'=>'常规安全检查-列表','url' =>'home/check/index','desc'=>'常规安全检查所有列表'),
			'27'=>array('name'=>'统计信息-学院安全平面图','url' =>'home/info/index','desc'=>'统计信息'),
			'28'=>array('name'=>'统计信息-动火证申请统计','url' =>'home/info/index','desc'=>'统计信息'),
			'29'=>array('name'=>'统计信息-机动车证申请统计','url' =>'home/info/index','desc'=>'统计信息'),
			'30'=>array('name'=>'统计信息-消防器材申请统计','url' =>'home/info/index','desc'=>'统计信息'),
			'31'=>array('name'=>'统计信息-常规安全检查统计','url' =>'home/info/index','desc'=>'统计信息'),
			'32'=>array('name'=>'机动车证申请-填写申请','url' =>'home/car/save','desc'=>'添加信息提交保存'),
			'34'=>array('name'=>'查看机动车证申请详情','url' =>'home/car/view','desc'=>'查看机动车证申请详情'),
			'36'=>array('name'=>'查看原图','url' =>'home/index/viewimage','desc'=>'查看机动车证申请详情'),
			'41'=>array('name'=>'动火证申请-动火证申请记录','url' =>'home/permit/view','desc'=>'查看动火证申请详情'),
			'42'=>array('name'=>'常规安全检查-申请记录','url' =>'home/check/view','desc'=>'查看常规安全检查详情'),
			'43'=>array('name'=>'消防器材申请-填写申请','url' =>'home/fire/save','desc'=>'填写申请'),
			'45'=>array('name'=>'消防器材申请-填写申请','url' =>'home/fire/view','desc'=>'填写申请'),
			'46'=>array('name'=>'草稿箱','url' =>'home/car/edit','desc'=>'草稿箱'),
			'47'=>array('name'=>'草稿箱','url' =>'home/permit/edit','desc'=>'草稿箱'),
			'48'=>array('name'=>'草稿箱','url' =>'home/fire/edit','desc'=>'草稿箱'),
			'49'=>array('name'=>'草稿箱','url' =>'home/check/edit','desc'=>'草稿箱'),
			'50'=>array('name'=>'保存动火证','url' =>'home/permit/save','desc'=>'保存动火证'),
			'51'=>array('name'=>'保存消防器材','url' =>'home/fire/save','desc'=>'保存消防器材'),
			'66'=>array('name'=>'个人信息修改','url' =>'home/system/edit','desc'=>'列表'),
			'67'=>array('name'=>'个人信息修改','url' =>'home/system/save','desc'=>'列表'),
			'68'=>array('name'=>'个人信息修改','url' =>'home/check/judge','desc'=>'列表'),
			'70'=>array('name'=>'消防器材统计','url' =>'home/fire/tongji','desc'=>'列表'),
    	),

);